package com.toe.pojo.dto.forum;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EnshrineArticleUpdateDTO对象", description="修改用户收藏文章映射")
public class EnshrineArticleUpdateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "当前用户id")
    private Long userId;

    @ApiModelProperty(value = "文章id")
    private Long articleId;
}
